using System;
using System.Runtime.Serialization;

namespace EOSDigital.API
{
	[Serializable]
	public sealed class CameraSessionException : Exception
	{
		public CameraSessionException()
		{
		}

		public CameraSessionException(string message)
			: base(message)
		{
		}

		public CameraSessionException(string message, Exception innerException)
			: base(message, innerException)
		{
		}

		private CameraSessionException(SerializationInfo info, StreamingContext context)
			: base(info, context)
		{
		}

		public override void GetObjectData(SerializationInfo info, StreamingContext context)
		{
			if (info == null)
			{
				throw new ArgumentNullException("info");
			}
			base.GetObjectData(info, context);
		}
	}
}
